$(eval $(call BuildAsteriskModule,res-mwi-external,Core external MWI resource,Core external MWI resource.,,,res_mwi_external,,))
$(eval $(call BuildAsteriskModule,res-mwi-external-ami,AMI for external MWI,AMI support for external MWI.,+$(PKG_NAME)-res-mwi-external,,res_mwi_external_ami,,))
$(eval $(call BuildAsteriskModule,res-parking,Phone Parking,Call parking resource.,+$(PKG_NAME)-bridge-holding,res_parking.conf,res_parking,,))
-$(eval $(call BuildAsteriskModule,res-phoneprov,Phone Provisioning,HTTP phone provisioning.,,phoneprov.conf,res_phoneprov,,))
+$(eval $(call BuildAsteriskModule,res-phoneprov,Phone Provisioning,HTTP phone provisioning.,,phoneprov.conf phoneprov_users.conf,res_phoneprov,,))
$(eval $(call BuildAsteriskModule,res-pjsip-aoc,PJSIP AOC,PJSIP AOC Support.,+asterisk-pjsip +asterisk-res-pjproject,,res_pjsip_aoc,,))
$(eval $(call BuildAsteriskModule,res-pjsip-geolocation,PJSIP Geolocation,PJSIP Geolocation support.,+asterisk-pjsip +asterisk-res-geolocation,,res_pjsip_geolocation,,))
$(eval $(call BuildAsteriskModule,res-pjsip-phoneprov,PJSIP Phone Provisioning,PJSIP phone provisioning.,+$(PKG_NAME)-pjsip +$(PKG_NAME)-res-phoneprov,,res_pjsip_phoneprov_provider,,))
--- /dev/null
+--- a/configs/samples/phoneprov_users.conf
++++ /dev/null
+@@ -1,40 +0,0 @@
+-;
+-; Device provisioning configuration
+-;
+-; This file is used by res_phoneprov to define provisioning entries.
+-;
+-
+-[general]
+-;
+-; Full name of a user
+-;
+-fullname = New User
+-;
+-; MAC Address for res_phoneprov
+-;
+-;macaddress = 112233445566
+-;
+-; Auto provision the phone with res_phoneprov
+-;
+-;autoprov = yes
+-;
+-; Line Keys for hardphone
+-;
+-;LINEKEYS = 1
+-;
+-; Line number for hardphone
+-;
+-;linenumber = 1
+-;
+-; Local Caller ID number used with res_phoneprov and Asterisk GUI
+-;
+-;cid_number = 6000
+-
+-;[6000]
+-;fullname = Joe User
+-;secret = 1234
+-;macaddress = 112233445566
+-;autoprov = yes
+-;LINEKEYS = 1
+-;linenumber = 1
+-;cid_number = 6000
+--- /dev/null
++++ b/configs/samples/phoneprov_users.conf.sample
+@@ -0,0 +1,40 @@
++;
++; Device provisioning configuration
++;
++; This file is used by res_phoneprov to define provisioning entries.
++;
++
++[general]
++;
++; Full name of a user
++;
++fullname = New User
++;
++; MAC Address for res_phoneprov
++;
++;macaddress = 112233445566
++;
++; Auto provision the phone with res_phoneprov
++;
++;autoprov = yes
++;
++; Line Keys for hardphone
++;
++;LINEKEYS = 1
++;
++; Line number for hardphone
++;
++;linenumber = 1
++;
++; Local Caller ID number used with res_phoneprov and Asterisk GUI
++;
++;cid_number = 6000
++
++;[6000]
++;fullname = Joe User
++;secret = 1234
++;macaddress = 112233445566
++;autoprov = yes
++;LINEKEYS = 1
++;linenumber = 1
++;cid_number = 6000